package base;

import java.math.BigDecimal;
import java.util.TreeMap;

/**
 * static 修饰的方法不能被继承和重写
 */
public class Shape {
    public static void dfs() {
        System.out.println("123");
    }

    public static void main(String[] args) {
        BigDecimal a = new BigDecimal("1");
        BigDecimal b = new BigDecimal("1.0");
        System.out.println(a.equals(b));
        System.out.println(a.compareTo(b));

    }

}
class Circle extends Shape {

}
